package org.example.mppg.repository.sql.mapper;

import org.apache.ibatis.annotations.Param;
import org.example.mppg.domain.entity.Student;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * <p>
 * 学生信息表 Mapper 接口
 * </p>
 *
 * @author bo
 * @since 2024-10-14
 */
@Mapper
public interface StudentMapper extends BaseMapper<Student> {

    void truncate();

    List<Student> getStudentsByInfoItem(@Param("infoItem") String infoItem);

    List<Student> getStudentsByInfoItemValue(@Param("infoItemValue")String value);
}
